/*!
 * Copyright 2019 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import "../../styles/colors";

.mall-button {
  display: inline-block;
  color: #fff;

  .mall-icon {
    vertical-align: sub;
    margin-right: 4px;
  }
}

.mall-button-type-primary {
  background: $primary-background-color;
  border: 1px solid $primary-color;
}

.mall-button-type-link {
  color: $primary-color;
  background: transparent;
  border: none;
}

.mall-button-size-large {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.5em;
  border-radius: 6px;
}

.mall-button-size-default {
  padding: 6px 12px;
  line-height: 1.5em;
  font-size: 14px;
  border-radius: 4px;
}

.mall-button-size-small {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5em;
  border-radius: 3px;
}

.mall-button-size-mini {
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5em;
  border-radius: 3px;
}

.mall-button-shape-circle {
  text-align: center;
  border-radius: 2em;
}

.mall-button-disabled {
  color: $disabled-color;

}
